//媒体查询
@media only screen and (width: 320px) {
  html {
    font-size: 12.8px;
  }
}

@media only screen and (width: 360px) {
  html {
    font-size: 14.4px;
  }
}

@media only screen and (width: 375px) {
  html {
    font-size: 15px;
  }
}

@media only screen and (width: 400px) {
  html {
    font-size: 16px;
  }
}

@media only screen and (width: 414px) {
  html {
    font-size: 16.56px;
  }
}

@media only screen and (min-width: 640px) {
  html {
    font-size: 25.6px;
  }
}

.clear:after {
  content: "";
  display: block;
  height: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}

.clear {
  zoom: 1;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei";
}

a {
  text-decoration: none;
}

body {
  > .viewport {
    width: 25rem;
    margin: 0 auto;
    overflow: hidden;
    > .swiper-container {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      overflow: hidden;
      > .swiper-wrapper {
        //第一屏
        > .page1 {
          background: url(../images1/2.jpg) no-repeat;
          background-size: 25rem 100%;
          position: relative;
          > .title {
            width: (700 / 30rem);
            height: (700 / 30rem);
            position: relative;
            overflow: hidden;
            > img {
              width: 80%;
              height: 40%;
              position: absolute;
              top: 0;
              left: 0;
              transform-origin: 95% bottom;
              opacity: 0;
            }
            > img:first-child {
              transform: rotate(-70deg);
            }
            > img:last-child {
              transform: rotate(85deg);
              position: absolute;
              top: (10rem);
              left: 5rem;
            }
          }
          > .name {
            position: absolute;
            bottom: 3rem;
            left: (247 / 30rem);
            opacity: 0;
            font-size: (50 / 30rem);
            line-height: 1.1rem;
            .nameSpan {
              margin-left: 10px;
            }
          }
          > .geren {
            position: absolute;
            left: 50%;
            bottom: 150px;
            transform: translate(-50%);
            border-radius: 50%;
            opacity: 0.9;
            width: (150px);
            height: (150px);
            background: url('../images1/1.jpg') no-repeat;
            background-size: 150px;
            background-position: center center;
          }
        }
        //动画效果
        > .page1.current {
          > .title {
            > img:first-child {
              transform: rotate(0deg);
              transition: all 1s 0.4s linear;
              opacity: 1;
            }
            > img:last-child {
              transform: rotate(0deg);
              transition: all 1s 1s linear;
              opacity: 1;
            }
          }
          > .name {
            transition: all 0.8s 2s;
            opacity: 1;
          }
        }
        //第二屏
        > .page2 {
          background: url(../images1/05.jpg) no-repeat;
          background-size: 25rem 100%;
          position: relative;
          > .name {
            width: (390 / 30rem);
            height: (160 / 30rem);
            position: absolute;
            top: (249 / 30rem);
            right: (50 / 30rem);
            overflow: hidden;
            > .top {
              width: 100%;
              height: (73 / 30rem);
              position: absolute;
              top: 0;
              left: 100%;
              span {
                height: 100%;
                float: left;
                font-size: 30px;
                font-weight: bold;
              }

            }

          }
          >.jn{
            position: absolute;
            left:100%;
            top:50%;
            transform:translateY(-50%);

          }
        }
        //动画效果
        > .page2.current {
          > .name {
            > .top {
              transition: all 0.8s 0.4s;
              left: 0;
            }

          }
          > .jn{
            transition: all 0.8s 0.8s;
            left:50%;;
            >p{
              font-size: 20px;

            }
          }
        }
        //第三屏
        > .page3 {
          background: url(../images1/06.jpg) no-repeat;
          background-size: 25rem 100%;
          position: relative;

          > .title {
            width: (242 / 30rem);
            height: (62 / 30rem);
            border: 2px solid #000;
            position: absolute;
            top: (312 / 30rem);
            left: (128 / 30rem);
          }
          > .box {
            width: (686 / 30rem);
            height: (436 / 30rem);
            border: 2px solid rgba(0, 0, 0, 0);
            position: absolute;
            bottom: (294 / 30rem);
            left: 1.1rem;

            > .content {
              width: 20rem;
              height: (320 / 30rem);
              padding-top: 1rem;
              border-top: 2px solid #000;
              border-bottom: 2px solid #000;
              position: absolute;
              top: (40 / 30rem);
              left: (-638 /30rem);
              z-index: 100;
              > .left {
                width: (260 / 30rem);
                height: 100%;
                float: left;
                text-align: right;
              }

              > div {
                >
                a {
                  display: block;
                  font-size: 15px;
                  line-height: 40px;
                  font-family: "Microsoft Yahei", sans-serif, monospace;
                  color: #fff;
                }

              }
            }
          }
        }
        //动画效果
        > .page3.current {
          > .title {
            > .content {
              transition: all 0.6s 0.4s;
              top: -1rem;
              left: (86 / 30rem);
            }
          }
          > .box {
            transition: all 1s 0.4s linear;
            border: 2px solid rgba(0, 0, 0, 1);
            > .content {
              transition: all 1s 0.8s;
              left: (-38 /30rem);
            }
          }
        }

      }
    }
  }

}

/* 箭头 */
@-webkit-keyframes start {
  0%, 30% {
    opacity: 0.2;
    -webkit-transform: translate(0, 10px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translate(0, 0);
  }
  100% {
    opacity: 0.2;
    -webkit-transform: translate(0, -5px);
  }
}

@keyframes start {
  0%, 30% {
    opacity: 0.2;
    transform: translate(0, 10px);
  }
  60% {
    opacity: 1;
    transform: translate(0, 0);
  }
  100% {
    opacity: 0.2;
    transform: translate(0, -5px);
  }
}

.start {
  position: fixed;
  left: 50%;
  margin-left: -17px;
  top: 95%;
  margin-top: -34px;
  width: 34px;
  height: 34px;
  z-index: 1;
}

.rotate {
  transform: rotate(180deg);
}

.start b {
  position: absolute;
  left: 50%;
  top: 10px;
  margin-left: -9px;
  width: 19px;
  height: 12px;
  background: url(../images/arrow.png);
  background-size: 100% 100%;
  -webkit-animation: start 1.5s infinite ease-in-out;
  animation: start 1.5s infinite ease-in-out;
}

/*音频*/
.audioControl > .play {
  width: 1.5rem;
  height: 1.5rem;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1;
}

.audioControl > .play > img {
  width: 100%;
  height: 100%;
}

.audioControl > .play > img.rotate {
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}